package com.guigu.buy.service;

import com.github.pagehelper.PageInfo;
import com.guigu.buy.dto.OrderUtil;
import com.guigu.buy.dto.Order_Merchant;
import com.guigu.buy.pojo.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.buy.vo.OrderVo;
import com.guigu.buy.pojo.OrderDetails;
import com.guigu.buy.vo.OrderDetailsVo;

import java.util.List;
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author com.guigu
 * @since 2024-05-15
 */
public interface IOrderService extends IService<Order> {
    List<Order> selectByStatus(Order order);

    PageInfo<OrderUtil> queryAll(int pageNo, int pageSize, OrderVo vo);

    OrderDetailsVo getOrderDetailsById(Integer id);

    String getMaxStockId();
    //查询全部订单表

    PageInfo<Order_Merchant> check(OrderVo order, int cid, int pageNo, int pageSize);
    //查询待收货订单表

    PageInfo<Order> shohuodindan(int pageNo, int pageSize,int cid);
    //查询已收货订单表

    PageInfo<Order> mechant(int pageSize, int pageNo,int cid);
    //查询已提货订单表

    PageInfo<Order> pickupcx(int pageSize, int pageNo,int cid);
}
